package com.zheng.springcloud.mapper;

import com.zheng.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

/**
 * @author lenovo
 */
@Mapper
@Repository
public interface DeptMapper {
    public boolean addDept(@Param("dept") Dept dept);
    public Dept selectDeptById(int id);
    public ArrayList<Dept> selectDept();
}
